package com.changgou.goods.service;


import com.changgou.goods.pojo.Brand;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface BrandService {
    public List<Brand> findAll();

    public Brand findById(Integer id);

    public void insert(Brand brand);

    public void update(Brand brand);

    public void delete(Integer id);

    public List<Brand> search(Map<String,String> seachMap);

    public Page<Brand> searchPage(int pageNum,int pageSize);

    Page<Brand> findPage(int pageNum, int pageSize, Map<String,String> seachMap);
}
